<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<link rel="stylesheet"
	href='<c:url value="/resources/css/redmond/jquery-ui-1.8.16.custom.css"/>' />
<script type="text/javascript"
	src='<c:url value="/resources/js/jquery-ui-1.8.16.custom.min.js"/>'></script>
<script type="text/javascript"
	src='<c:url value="/resources/js/jquery.ui.datepicker-zh-CN.js"/>'></script>
<script type="text/javascript"
	src='<c:url value="/resources/js/fund/fundApplication.js"/>'></script>

<fieldset>
	<legend>经费报销</legend>
	<input id="addApplicationButton" type="button" value="添加新申请">
	<div id="applicationTable"></div>

	<div id="addApplicationForm" title="经费报销">
		<form:form modelAttribute="fundApplicationWebBean" method="post" id="applicationForm">
			<table>
				<tr>
					<td>报销类型:</td>
					<td><form:select path="classification"
							items="${classificationList }" itemValue="id" itemLabel="name">
						</form:select></td>
				</tr>
				<tr>
					<td>报销金额:</td>
					<td><form:input path="amount" /></td>
				</tr>
				<tr>
					<td>消费时间:</td>
					<td><form:input path="consumeTime" id="dateTime" /></td>
				</tr>
				<tr>
					<td>审批人:</td>
					<td><form:select path="approver" items="${approverList }"
							itemValue="id" itemLabel="name">
						</form:select></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td align="right"><input id="saveButton" type="button"
						value="保存"></td>
				</tr>
			</table>
		</form:form>
	</div>
</fieldset>